package com.jy.mapper;

import com.jy.pojo.Master;
import com.jy.pojo.Student;
import sun.security.util.Password;


import java.util.List;

public interface StudentMapper {



    //显示所有
    public List<Student> signInAll();

    //注册
    public boolean logon(Student student);


    //登录操作,String password
    public boolean signUp(String username,String password);

    //管理员登录操作,String password

    public List<Master> signInAll2();

    //打卡，根据id--学号查询.
    public Student signIn(String stu_id);

    //显示签到成功的同学
    public void sign(Student student);

    //显示签到成功的同学
    public void late(Student student);


    //显示已签到
    public List<Student> signInReady();

    //显示迟到
    public List<Student> signInDelay();

    //根据id删除一个Student
    void deleteStudentById(String stu_id);
    //更新Student
    void updateStudent(Student student);

    void deleteReady();
    void deleteLate();


}
